/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package serversocket;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;
import java.io.PrintWriter;
import java.io.Writer;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.logging.Level;
import java.util.logging.Logger;




/**
 *
 * @author Antonio
 */
public class MainServer
{

    /**
     * @param args the command line arguments
     */
    public static Notificacion notificacion = new Notificacion();

    public static void main(String[] args)
    {
        /**
         * Se instancia el servidor y se le asigna su puerto
         * de escucha
         */
        Servidor serv = new Servidor(9000);

        while (true)
        {
            serv.esperarMensaje();
            System.out.println("marca");
        }

    }

}
